# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'main.ui'
#
# Created: Tue Mar 10 03:39:45 2009
#      by: PyQt4 UI code generator 4.4.4
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.setWindowModality(QtCore.Qt.NonModal)
        MainWindow.resize(533, 485)
        MainWindow.setMinimumSize(QtCore.QSize(533, 390))
        MainWindow.setMaximumSize(QtCore.QSize(533, 485))
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap("../data/tubemaster-24x24.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        MainWindow.setWindowIcon(icon)
        self.centralwidget = QtGui.QWidget(MainWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.groupBox_3 = QtGui.QGroupBox(self.centralwidget)
        self.groupBox_3.setGeometry(QtCore.QRect(6, 355, 521, 81))
        self.groupBox_3.setObjectName("groupBox_3")
        self.progressBar = QtGui.QProgressBar(self.groupBox_3)
        self.progressBar.setEnabled(False)
        self.progressBar.setGeometry(QtCore.QRect(10, 30, 501, 23))
        self.progressBar.setProperty("value", QtCore.QVariant(0))
        self.progressBar.setOrientation(QtCore.Qt.Horizontal)
        self.progressBar.setInvertedAppearance(False)
        self.progressBar.setObjectName("progressBar")
        self.progressLabel = QtGui.QLabel(self.groupBox_3)
        self.progressLabel.setGeometry(QtCore.QRect(10, 60, 501, 20))
        self.progressLabel.setAlignment(QtCore.Qt.AlignCenter)
        self.progressLabel.setObjectName("progressLabel")
        self.groupBox = QtGui.QGroupBox(self.centralwidget)
        self.groupBox.setGeometry(QtCore.QRect(6, 5, 521, 180))
        self.groupBox.setObjectName("groupBox")
        self.stackPause = QtGui.QStackedWidget(self.groupBox)
        self.stackPause.setGeometry(QtCore.QRect(50, 140, 181, 30))
        self.stackPause.setObjectName("stackPause")
        self.p_pause = QtGui.QWidget()
        self.p_pause.setObjectName("p_pause")
        self.button_pause = QtGui.QPushButton(self.p_pause)
        self.button_pause.setEnabled(True)
        self.button_pause.setGeometry(QtCore.QRect(0, 0, 180, 30))
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap("../data/pause.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.button_pause.setIcon(icon1)
        self.button_pause.setIconSize(QtCore.QSize(20, 20))
        self.button_pause.setCheckable(False)
        self.button_pause.setDefault(False)
        self.button_pause.setFlat(False)
        self.button_pause.setObjectName("button_pause")
        self.stackPause.addWidget(self.p_pause)
        self.p_resume = QtGui.QWidget()
        self.p_resume.setObjectName("p_resume")
        self.button_resume = QtGui.QPushButton(self.p_resume)
        self.button_resume.setEnabled(True)
        self.button_resume.setGeometry(QtCore.QRect(0, 0, 180, 30))
        icon2 = QtGui.QIcon()
        icon2.addPixmap(QtGui.QPixmap("../data/resume.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.button_resume.setIcon(icon2)
        self.button_resume.setIconSize(QtCore.QSize(20, 20))
        self.button_resume.setObjectName("button_resume")
        self.stackPause.addWidget(self.p_resume)
        self.page = QtGui.QWidget()
        self.page.setObjectName("page")
        self.button_gettitle = QtGui.QPushButton(self.page)
        self.button_gettitle.setEnabled(False)
        self.button_gettitle.setGeometry(QtCore.QRect(0, 0, 180, 30))
        icon3 = QtGui.QIcon()
        icon3.addPixmap(QtGui.QPixmap("../data/gettitle.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.button_gettitle.setIcon(icon3)
        self.button_gettitle.setIconSize(QtCore.QSize(20, 20))
        self.button_gettitle.setObjectName("button_gettitle")
        self.stackPause.addWidget(self.page)
        self.stackButtons = QtGui.QStackedWidget(self.groupBox)
        self.stackButtons.setGeometry(QtCore.QRect(290, 140, 180, 35))
        self.stackButtons.setObjectName("stackButtons")
        self.p_get = QtGui.QWidget()
        self.p_get.setObjectName("p_get")
        self.button_get = QtGui.QPushButton(self.p_get)
        self.button_get.setEnabled(False)
        self.button_get.setGeometry(QtCore.QRect(0, 0, 180, 30))
        icon4 = QtGui.QIcon()
        icon4.addPixmap(QtGui.QPixmap("../data/download.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.button_get.setIcon(icon4)
        self.button_get.setIconSize(QtCore.QSize(20, 20))
        self.button_get.setObjectName("button_get")
        self.stackButtons.addWidget(self.p_get)
        self.p_abort = QtGui.QWidget()
        self.p_abort.setObjectName("p_abort")
        self.button_abort = QtGui.QPushButton(self.p_abort)
        self.button_abort.setEnabled(True)
        self.button_abort.setGeometry(QtCore.QRect(0, 0, 180, 30))
        icon5 = QtGui.QIcon()
        icon5.addPixmap(QtGui.QPixmap("../data/abort.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.button_abort.setIcon(icon5)
        self.button_abort.setIconSize(QtCore.QSize(20, 20))
        self.button_abort.setObjectName("button_abort")
        self.stackButtons.addWidget(self.p_abort)
        self.videoUrl = QtGui.QLineEdit(self.groupBox)
        self.videoUrl.setEnabled(True)
        self.videoUrl.setGeometry(QtCore.QRect(130, 30, 381, 30))
        self.videoUrl.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.videoUrl.setObjectName("videoUrl")
        self.videoId = QtGui.QLineEdit(self.groupBox)
        self.videoId.setGeometry(QtCore.QRect(130, 70, 261, 30))
        self.videoId.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.videoId.setStyleSheet("QLineEdit { color:#BBBBBB }")
        self.videoId.setObjectName("videoId")
        self.label_4 = QtGui.QLabel(self.groupBox)
        self.label_4.setGeometry(QtCore.QRect(10, 30, 121, 30))
        font = QtGui.QFont()
        font.setWeight(75)
        font.setBold(True)
        self.label_4.setFont(font)
        self.label_4.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.label_4.setObjectName("label_4")
        self.status_text = QtGui.QLabel(self.groupBox)
        self.status_text.setGeometry(QtCore.QRect(10, 100, 501, 41))
        self.status_text.setMouseTracking(False)
        self.status_text.setFocusPolicy(QtCore.Qt.NoFocus)
        self.status_text.setAcceptDrops(False)
        self.status_text.setAlignment(QtCore.Qt.AlignCenter)
        self.status_text.setTextInteractionFlags(QtCore.Qt.TextSelectableByMouse)
        self.status_text.setObjectName("status_text")
        self.label_5 = QtGui.QLabel(self.groupBox)
        self.label_5.setGeometry(QtCore.QRect(10, 70, 121, 30))
        self.label_5.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.label_5.setObjectName("label_5")
        self.groupBox_2 = QtGui.QGroupBox(self.centralwidget)
        self.groupBox_2.setGeometry(QtCore.QRect(6, 190, 521, 151))
        self.groupBox_2.setObjectName("groupBox_2")
        self.button_folder = QtGui.QToolButton(self.groupBox_2)
        self.button_folder.setGeometry(QtCore.QRect(470, 30, 31, 29))
        self.button_folder.setFocusPolicy(QtCore.Qt.StrongFocus)
        self.button_folder.setObjectName("button_folder")
        self.dest_folder = QtGui.QLineEdit(self.groupBox_2)
        self.dest_folder.setGeometry(QtCore.QRect(130, 30, 340, 30))
        self.dest_folder.setFocusPolicy(QtCore.Qt.NoFocus)
        self.dest_folder.setReadOnly(True)
        self.dest_folder.setObjectName("dest_folder")
        self.label_file_dest = QtGui.QLabel(self.groupBox_2)
        self.label_file_dest.setGeometry(QtCore.QRect(10, 30, 121, 30))
        self.label_file_dest.setObjectName("label_file_dest")
        self.label_file_name = QtGui.QLabel(self.groupBox_2)
        self.label_file_name.setGeometry(QtCore.QRect(10, 60, 121, 30))
        self.label_file_name.setObjectName("label_file_name")
        self.dest_name = QtGui.QLineEdit(self.groupBox_2)
        self.dest_name.setGeometry(QtCore.QRect(130, 60, 371, 30))
        self.dest_name.setObjectName("dest_name")
        self.label_file_format = QtGui.QLabel(self.groupBox_2)
        self.label_file_format.setGeometry(QtCore.QRect(10, 100, 121, 30))
        self.label_file_format.setObjectName("label_file_format")
        self.dest_format = QtGui.QComboBox(self.groupBox_2)
        self.dest_format.setGeometry(QtCore.QRect(140, 100, 101, 30))
        self.dest_format.setEditable(False)
        self.dest_format.setFrame(True)
        self.dest_format.setModelColumn(0)
        self.dest_format.setObjectName("dest_format")
        self.dest_format.addItem(QtCore.QString())
        self.dest_format.addItem(QtCore.QString())
        self.dest_format.addItem(QtCore.QString())
        self.dest_format.addItem(QtCore.QString())
        self.label_video_quality = QtGui.QLabel(self.groupBox_2)
        self.label_video_quality.setGeometry(QtCore.QRect(280, 100, 91, 30))
        self.label_video_quality.setObjectName("label_video_quality")
        self.dest_quality = QtGui.QComboBox(self.groupBox_2)
        self.dest_quality.setGeometry(QtCore.QRect(390, 100, 101, 30))
        self.dest_quality.setEditable(False)
        self.dest_quality.setFrame(True)
        self.dest_quality.setModelColumn(0)
        self.dest_quality.setObjectName("dest_quality")
        self.dest_quality.addItem(QtCore.QString())
        self.dest_quality.addItem(QtCore.QString())
        self.dest_quality.addItem(QtCore.QString())
        self.dest_quality.addItem(QtCore.QString())
        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtGui.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 533, 27))
        self.menubar.setObjectName("menubar")
        self.menuHelp = QtGui.QMenu(self.menubar)
        self.menuHelp.setObjectName("menuHelp")
        self.menuEdit = QtGui.QMenu(self.menubar)
        self.menuEdit.setObjectName("menuEdit")
        self.menuTubemaster = QtGui.QMenu(self.menubar)
        self.menuTubemaster.setObjectName("menuTubemaster")
        MainWindow.setMenuBar(self.menubar)
        self.statusbar = QtGui.QStatusBar(MainWindow)
        self.statusbar.setObjectName("statusbar")
        MainWindow.setStatusBar(self.statusbar)
        self.actionExit = QtGui.QAction(MainWindow)
        self.actionExit.setObjectName("actionExit")
        self.actionAbout = QtGui.QAction(MainWindow)
        self.actionAbout.setObjectName("actionAbout")
        self.actionPreferences = QtGui.QAction(MainWindow)
        self.actionPreferences.setObjectName("actionPreferences")
        self.menuHelp.addSeparator()
        self.menuHelp.addAction(self.actionAbout)
        self.menuEdit.addAction(self.actionPreferences)
        self.menuTubemaster.addAction(self.actionExit)
        self.menubar.addAction(self.menuTubemaster.menuAction())
        self.menubar.addAction(self.menuEdit.menuAction())
        self.menubar.addAction(self.menuHelp.menuAction())

        self.retranslateUi(MainWindow)
        self.stackPause.setCurrentIndex(0)
        self.stackButtons.setCurrentIndex(0)
        self.dest_quality.setCurrentIndex(1)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)
        MainWindow.setTabOrder(self.videoUrl, self.videoId)
        MainWindow.setTabOrder(self.videoId, self.button_get)
        MainWindow.setTabOrder(self.button_get, self.button_folder)
        MainWindow.setTabOrder(self.button_folder, self.dest_name)
        MainWindow.setTabOrder(self.dest_name, self.button_pause)
        MainWindow.setTabOrder(self.button_pause, self.button_abort)
        MainWindow.setTabOrder(self.button_abort, self.button_resume)

    def retranslateUi(self, MainWindow):
        MainWindow.setWindowTitle(QtGui.QApplication.translate("MainWindow", "Tubemaster", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_3.setTitle(QtGui.QApplication.translate("MainWindow", "Download Progress", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox.setTitle(QtGui.QApplication.translate("MainWindow", "Get Video", None, QtGui.QApplication.UnicodeUTF8))
        self.button_pause.setText(QtGui.QApplication.translate("MainWindow", "Pause Download", None, QtGui.QApplication.UnicodeUTF8))
        self.button_resume.setText(QtGui.QApplication.translate("MainWindow", "Resume Download", None, QtGui.QApplication.UnicodeUTF8))
        self.button_gettitle.setText(QtGui.QApplication.translate("MainWindow", "Get Original Title", None, QtGui.QApplication.UnicodeUTF8))
        self.button_get.setText(QtGui.QApplication.translate("MainWindow", "Download Video", None, QtGui.QApplication.UnicodeUTF8))
        self.button_abort.setText(QtGui.QApplication.translate("MainWindow", "Abort Download", None, QtGui.QApplication.UnicodeUTF8))
        self.label_4.setText(QtGui.QApplication.translate("MainWindow", "YouTube URL:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_5.setText(QtGui.QApplication.translate("MainWindow", "Video ID:", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_2.setTitle(QtGui.QApplication.translate("MainWindow", "Destination", None, QtGui.QApplication.UnicodeUTF8))
        self.button_folder.setText(QtGui.QApplication.translate("MainWindow", "...", None, QtGui.QApplication.UnicodeUTF8))
        self.label_file_dest.setText(QtGui.QApplication.translate("MainWindow", "Destination Folder:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_file_name.setText(QtGui.QApplication.translate("MainWindow", "File Name:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_file_format.setText(QtGui.QApplication.translate("MainWindow", "File Format:", None, QtGui.QApplication.UnicodeUTF8))
        self.dest_format.setItemText(0, QtGui.QApplication.translate("MainWindow", "mp4 - video", None, QtGui.QApplication.UnicodeUTF8))
        self.dest_format.setItemText(1, QtGui.QApplication.translate("MainWindow", "flv - video", None, QtGui.QApplication.UnicodeUTF8))
        self.dest_format.setItemText(2, QtGui.QApplication.translate("MainWindow", "avi - video", None, QtGui.QApplication.UnicodeUTF8))
        self.dest_format.setItemText(3, QtGui.QApplication.translate("MainWindow", "mp3 - audio", None, QtGui.QApplication.UnicodeUTF8))
        self.label_video_quality.setText(QtGui.QApplication.translate("MainWindow", "Video Quality:", None, QtGui.QApplication.UnicodeUTF8))
        self.dest_quality.setItemText(0, QtGui.QApplication.translate("MainWindow", "High Definition", None, QtGui.QApplication.UnicodeUTF8))
        self.dest_quality.setItemText(1, QtGui.QApplication.translate("MainWindow", "Good", None, QtGui.QApplication.UnicodeUTF8))
        self.dest_quality.setItemText(2, QtGui.QApplication.translate("MainWindow", "Normal", None, QtGui.QApplication.UnicodeUTF8))
        self.dest_quality.setItemText(3, QtGui.QApplication.translate("MainWindow", "Low (mobile)", None, QtGui.QApplication.UnicodeUTF8))
        self.menuHelp.setTitle(QtGui.QApplication.translate("MainWindow", "&Help", None, QtGui.QApplication.UnicodeUTF8))
        self.menuEdit.setTitle(QtGui.QApplication.translate("MainWindow", "&Edit", None, QtGui.QApplication.UnicodeUTF8))
        self.menuTubemaster.setTitle(QtGui.QApplication.translate("MainWindow", "&Tubemaster", None, QtGui.QApplication.UnicodeUTF8))
        self.actionExit.setText(QtGui.QApplication.translate("MainWindow", "&Quit", None, QtGui.QApplication.UnicodeUTF8))
        self.actionExit.setShortcut(QtGui.QApplication.translate("MainWindow", "Ctrl+Q", None, QtGui.QApplication.UnicodeUTF8))
        self.actionAbout.setText(QtGui.QApplication.translate("MainWindow", "&About", None, QtGui.QApplication.UnicodeUTF8))
        self.actionPreferences.setText(QtGui.QApplication.translate("MainWindow", "&Preferences", None, QtGui.QApplication.UnicodeUTF8))
        self.actionPreferences.setShortcut(QtGui.QApplication.translate("MainWindow", "Ctrl+P", None, QtGui.QApplication.UnicodeUTF8))

